Updating Paper.js gives me a lot of type errors.
Updating Paper.js gives me a lot of type errors.
Because Point.x changed from number to number | null.
It's insanely difficult to use.
It is preferable that the original type is decent, but if it is not, it is better to convert it first to your own vector type and then use it.
---
This page is auto-translated from /nishio/Paper.jsをupdateすると型エラーが大量に出る. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.